import axios from "axios";

const instance = axios.create({
  // baseURL: import.meta.env.VITE_API_URL,
  baseURL: "http://localhost:5000", // ✅ 后端地址
  timeout: 10000,
  withCredentials: true,
  headers: {
    'Content-Type': 'application/json' 
  }
});

export default instance;
